#! /bin/bash
fact(){
fact=1
for i in `seq $1`
do
	let fact=$fact*$i
done
echo "$fact"
}

fact $1
